using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using DevExpress.Data.Filtering;

namespace ChuanPlus.Reports
{
    public partial class production_sub : DevExpress.XtraReports.UI.XtraReport
    {
        public production_sub()
        {
            InitializeComponent();
        }

        private void production_sub_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            xpCollection1.Filter = CriteriaOperator.Parse("ProductionID.ProductionID = " + paramID.Value);
        }

    }
}
